Answers

Question and Answer:

  Home  AngularJS

⟩ 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.

 153 views

More Questions for you: