top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Explain what Angular JS routes does ?

0 votes
254 views
Explain what Angular JS routes does ?
posted Dec 15, 2017 by Sathaybama

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

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 AngularJS 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 AngularJS module.

Injecting a value into an AngularJS controller function is done by adding a parameter with the same name as the value

answer Dec 15, 2017 by Shivaranjini
...