How do I get DOM element Attributes similar way (outside angular) I get $scope (angular.element(element).scope()) ?
I need this so I can use $animator service on some element that is being inserted into DOM
the part of my code would look like:
var element = $compile(template,scope);
var attrs = ? // I would do element.attrs(),
// but this won't work as it does not perform normalization
var animation = $animator(scope,attrs);
animation.enter(element,parent);
javascripttag.