1. Question: Which is the correct syntax of creating AngularJS application module?

    A
    var app = angularJS.module('myApp',[]);

    B
    var app = angular.module('myApp', []);

    C
    var app = angular.module('myApp');

    D
    var app = angular.module([],'myApp',);

    Note: Not available
    1. Report
  2. Question: What is the correct syntax of creating a module?

    A
    var myApp = angular.module("exampleApp", []);

    B
    var myapp = module.angular("exampleApp", []);

    C
    var myapp = angular.moduler([],"exampleApp");

    D
    var myapp = module.angular([],"exampleApp");

    Note: Not available
    1. Report
  3. Question: How angular.module works?

    A
    angular.module is used to create AngularJS modules along with its dependent modules.

    B
    angular.module is primarily used to create application module.

    C
    Both of these

    D
    None of these

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd