Closed ascheucher closed 10 years ago
Hi Eric,
to secure an Angular app, with Passport I wanted to exclude some of the templates from $templateCache.
I have made adopted the compile, to support it. Maybe it's interesting for somebody else as well...
regards, Andreas
@ascheucher You should be able to exclude templates via glob patterns:
src: ['/**/*.js', '!**app/secured**']
http://stackoverflow.com/a/12633119
ok. would have been much easier ;) searched for it, but did not find it... thanks for the info!
Hi Eric,
to secure an Angular app, with Passport I wanted to exclude some of the templates from $templateCache.
I have made adopted the compile, to support it. Maybe it's interesting for somebody else as well...
regards, Andreas