AngularJS Question:
Download Questions PDF

What Angular JS routes does?


Angular js routes enable you to create different URLs for different content in your application. Different URLs for different content enables user to bookmark URLs to specific content. Each such bookmarkable URL in Angular.js is called a route
A value in Angular JS is a simple object. It can be a number, string or JavaScript object. Values are typically used as configuration injected into factories, services or controllers. A value should be belong to an Angular.js module.
Injecting a value into an Angular.js controller function is done by adding a parameter with the same name as the value.

Download AngularJS Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me with options on page load how you can initialize a select box?What is data binding in Angular.js?