in AnguiarJS. which of the following steps is mandatory to enable routing in your application? Also. you have to check whether these syntaxes are valid or not.
1. include the AngularJS Route module:
2. Add the ngRoute as a dependency in the application module:
var app = angular.module(”myApp”, [“ngRoute"]);
Correct Answer: Both 1 and 2 The syntax of only the second statement is valid.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Angular JS MCQ Questions