0

I am new in angular js. I have the following code

angular.module('app', ['components'])

.controller('MyApp', function($scope) {
  $scope.message = "Hello World!";
});

what is the meaning of components here ?

I tried to find something on angular js documentation https://docs.angularjs.org/api/ng/function/angular.module

but there when they declare a new module the array is empty, in my case the array is not empty - so what does it means ?

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.