S
S
Sergey Gavrilov2015-09-02 16:53:24
Angular
Sergey Gavrilov, 2015-09-02 16:53:24

How to make it so that angular does not initialize when the ng-app directive is loaded?

There is a site with an angularjs application and a chrome extension, the same on angularjs.
In the extension, the page script is launched via angular.bootstrap, but before that, horror is thrown into the console with an error trying to start, because. DOM is readable and js angular modules are not declared.
How to make it so that angular does not initialize when the ng-appdirective is loaded?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gavrilov, 2015-09-03
@FireVolkhov

Looked in source codes, how not to make.

_
_ _, 2015-09-03
@AMar4enko

Remove ng-app and start via angular.bootstrap everywhere

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question