This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div ng-message="form['email'].errorStates" ng-message-include="tpl" ng-message-multiple="true"> | |
| <div ng-message-on="ng-maxlength">{{ $control.elementAt(0).viewValue }} is too long</div> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body[ng-cloak] { | |
| position:relative; | |
| } | |
| body[ng-cloak]:after { | |
| content:""; | |
| position:absolute; | |
| top:0; | |
| left:0; | |
| right:0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| value == true | |
| ? 'a' | |
| : 'b'; | |
| value == true ? | |
| 'a' : | |
| 'b'; | |
| value == true ? 'a' : 'b'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class MyAnimation extends LoopedAnimation { | |
| const DURATION = 1000; | |
| final dom.Element element; | |
| final AnimationLoop animationLoop; | |
| MyAnimation(this.element, this.animationLoop) { | |
| animationLoop.play(this); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| hasClass : function(className, sequenceID) { | |
| sequenceID = sequenceID || index.length; | |
| var count = hasClass(element, className) ? 1 : 0; | |
| for(var i = 0; i <= sequenceID; i++) { | |
| var lookup = index[i]; | |
| count += lookup[className] ? lookup[className] : 0; | |
| } | |
| return count > 0; | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var classNameFilter = $animateProvider.classNameFilter(); | |
| var isAnimatableClassName = !classNameFilter ? | |
| function() { return true; } : | |
| function(className) { | |
| return classNameFilter.test(className); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var isAnimatableClassName = function() { return true; }; | |
| var classNameFilter = $animateProvider.classNameFilter(); | |
| if(classNameFilter) { | |
| isAnimatableClassName = function(className) { | |
| return classNameFilter.test(className); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| one: function(element, type, fn) { | |
| element = jqLite(element); | |
| element.on(type, fn); | |
| element.on(type, function onFn() { | |
| element.off(type, onFn); | |
| element.off(type, fn); | |
| }); | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| element.on('$animate:start', onAnimateStart); | |
| element.on('$animate:close', onAnimateClose); | |
| function onAnimateStart(data) { | |
| element.off('$animate:start', onAnimateStart); | |
| //do stuff | |
| } | |
| function onAnimateClose(data) { | |
| element.off('$animate:close', onAnimateClose); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| . | |
| ├── Gruntfile.js | |
| ├── README.md | |
| ├── app | |
| │ ├── assets | |
| │ │ ├── app.css | |
| │ │ └── app.js | |
| │ ├── font | |
| │ │ ├── FontAwesome.otf | |
| │ │ ├── font |