Is this a bug or is there documentation somewhere that says not to use the suffix "start" in the name of a directive? Only the 'finish' directive works.
HTML:
<html ng-app="myApp">
...
<body>
<h2>Angular doesn't like the suffix 'start'</h2>
<div this-is-the-start="abc"></div>
<div this-is-the-finish="abc"></div>
</body>
...
</html>
JS:
var myApp = angular.module('myApp',[]);
myApp.directive('thisIsTheFinish', function() {
return {
restrict: 'A',
template: 'finish'
}
});
myApp.directive('thisIsTheStart', function() {
return {
restrict: 'A',
template: 'start'
}
});
Code in action: http://plnkr.co/edit/SrNncw?p=preview