Tag: Service
-
Simplest way to share data between two unrelated Components in Angular
In Angular, it is essential to know how components communicate with each other. If you use a component inside another component, they create a parent child relationship. In such a scenario, parent and child components communicate to each other in following ways: @Input() @Output() Temp Ref Variable ViewChild and ContentChild You can learn in detail…
-
Services in AngularJS simplified with examples
Read: 21 points cheat sheet on AngularJS controller and the $scope object What is service? It provides us method to keep data across the lifetime of the angular app It provides us method to communicate data across the controllers in a consistent way This is a singleton object and it gets instantiated only once per…
-
ROSLYN: Complier as Service ?
As a developer I see [rather forced to see] Compiler as a black box. It takes certain input and gives respective output. If I remember my college days classical definition of compiler was, “Compiler is system software which converts high level language in machine instructions line by line “ Compilation process follows certain steps, And…