Angular JS Interview Question Set 6
Categories: Angular JS
What is Routing?
Routing is a method of merging various views. The controller takes the decision to combine these views depend on logical needs.
What do you mean by isolated unit tests?
Isolated test is a process of checking instance of class without using any injected values or Angular dependence. It helps you to implement program very easily.
Name DSL animation functions in AngularJS
DSL animation functions in AngularJS are: 1) group(), 2) state(), 3) transition(), 4) style(), 5) keyframes(), 6) trigger(), 7) sequence(), and 8) animate().
What is AngularJS module?
In angularJS, a module is a process to group directives, and services components that are related. It arranges them in a way that they can mix with other modules to create an application.
What are pipes in AngularJs?
In angular, pipes provide a simple method to transform the data. It takes the values like arrays, integers, data, and strings as input and divided with pipe (|) symbol. It converts the data in the required format. Pipes displays the same thing in the browser. In angularJS, it provides some in-built pipes, but developers can also develop their own pipes.
Explain ViewEncapsulation in AngularJS
ViewEncapsulation determines whether the styles defined in the AngularJS component will affect the entire app or not.