1

I have defined drawerApp on my js . On click of button i am loading partial and there require js file. I need to inject some loaded js into my current drawerApp is there any way to inject in app?

Currentlt config. is as below.

JavaScript:

drawerApp.config([ '$interpolateProvider','$controllerProvider','$compileProvider', '$filterProvider', '$provide',
    function ($interpolateProvider,$controllerProvider,$compileProvider, $filterProvider, $provide) {

    $interpolateProvider.startSymbol('{[{');
    $interpolateProvider.endSymbol('}]}');

    drawerApp.register =
        {
            controller: $controllerProvider.register,
            directive: $compileProvider.directive,
            filter: $filterProvider.register,
            factory: $provide.factory,
            service: $provide.service
        };
}]);
1

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.