add component

This commit is contained in:
wlh
2015-01-06 23:50:34 +08:00
parent c1c3402efa
commit b690d5bdbf
405 changed files with 332 additions and 27950 deletions
+12
View File
@@ -0,0 +1,12 @@
app.directive('loading', function(){
var str = '<div id="loading" ng-show="isNoLoaded"><img src="../imgs/loading.gif" /></div>';
return {
restrict: 'AE',
template: str,
replace: true
};
});