Pasquale Vazzana

Results 35 comments of Pasquale Vazzana

I can't entirely understand the article because I don't speak russian, however I think the directive is quite esplicative and I've got the point. The scope destruction is a cool...

Yes it would be cool, let's work together on this thing then. The next week I should be able to work on it, if you already have something feel free...

you are right, bindOnce should render it as angular does. However this PR doesn't cover the other directive, the same problem happens with bo-html just to mention one.

Indeed it seems that bindonce is loaded before angular is properly initializated. Can you check the bootstrap of your application?

$script.js loads the files asynchronously so in any order as quickly as possible and while the angular-loader prevent to get the 'module undefined' error it doesn't create the real angular...

this is something that have to be done, however in this way we force bindonce to depend on ngSanitize and the $sce provider, I would rather use the injector to...

The problem is that $sceProvider exists since Angular 1.2 but older versions must use $sanitize, this should be the check to do in order to sanitize the html content.

The problem is that previous versions of Angular don't support $sce. I'm going to push a fix that will work also with AngularJs < 1.2

Yes, that's what I did: ``` javascript function getProvider(name) { try { return $injector.get(name); } catch (e) { return false; } } ``` plus, in the coming version there is...

I think the html-unsafe is a better choice because gives you the possibility to apply sanitization per element rather than per application, let's see if someone else wants to add...