' +
'',
@@ -130,10 +128,10 @@ angular.module('ionic.ui.viewState', ['ionic.service.view', 'ionic.service.gestu
};
}])
-.directive('navBarTitle', function() {
+.directive('ionNavBarTitle', function() {
return {
restrict: 'A',
- require: '^navBar',
+ require: '^ionNavBar',
link: function($scope, $element, $attr, navBarCtrl) {
$scope.headerBarView && $scope.headerBarView.align();
$element.on('$animate:close', function() {
@@ -149,7 +147,7 @@ angular.module('ionic.ui.viewState', ['ionic.service.view', 'ionic.service.gestu
* Fixes flickering in iOS7 and old android.
* Used in title and back button
*/
-.directive('asyncVisible', function() {
+.directive('ionAsyncVisible', function() {
return function($scope, $element) {
ionic.requestAnimationFrame(function() {
$element[0].classList.remove('invisible');
@@ -157,7 +155,7 @@ angular.module('ionic.ui.viewState', ['ionic.service.view', 'ionic.service.gestu
};
})
-.directive('view', ['$ionicViewService', '$rootScope', '$animate',
+.directive('ionView', ['$ionicViewService', '$rootScope', '$animate',
function( $ionicViewService, $rootScope, $animate) {
return {
restrict: 'EA',
@@ -215,7 +213,7 @@ angular.module('ionic.ui.viewState', ['ionic.service.view', 'ionic.service.gestu
}])
-.directive('navBackButton', ['$ionicViewService', '$rootScope',
+.directive('ionNavBackButton', ['$ionicViewService', '$rootScope',
function($ionicViewService, $rootScope) {
function goBack(e) {
@@ -246,7 +244,7 @@ angular.module('ionic.ui.viewState', ['ionic.service.view', 'ionic.service.gestu
}])
-.directive('navView', ['$ionicViewService', '$state', '$compile', '$controller', '$animate',
+.directive('ionNavView', ['$ionicViewService', '$state', '$compile', '$controller', '$animate',
function( $ionicViewService, $state, $compile, $controller, $animate) {
// IONIC's fork of Angular UI Router, v0.2.7
// the navView handles registering views in the history, which animation to use, and which
diff --git a/js/ext/angular/src/directive/ionicVirtRepeat.js b/js/ext/angular/src/directive/ionicVirtRepeat.js
index e98fd76891..aa9da32bcb 100644
--- a/js/ext/angular/src/directive/ionicVirtRepeat.js
+++ b/js/ext/angular/src/directive/ionicVirtRepeat.js
@@ -3,7 +3,7 @@
angular.module('ionic.ui.virtRepeat', [])
-.directive('virtRepeat', function() {
+.directive('ionVirtRepeat', function() {
return {
require: ['?ngModel', '^virtualList'],
transclude: 'element',
diff --git a/js/ext/angular/src/directive/ionicVirtualRepeat.js b/js/ext/angular/src/directive/ionicVirtualRepeat.js
index 3107a6d8e4..0b0cc116fb 100644
--- a/js/ext/angular/src/directive/ionicVirtualRepeat.js
+++ b/js/ext/angular/src/directive/ionicVirtualRepeat.js
@@ -130,7 +130,7 @@ angular.module('ionic.ui.virtualRepeat', [])
* scrolling to only render items that are showing or will be showing
* if a scroll is made.
*/
-.directive('virtualRepeat', ['$log', function($log) {
+.directive('ionVirtualRepeat', ['$log', function($log) {
return {
require: ['?ngModel, ^virtualList'],
transclude: 'element',
diff --git a/js/ext/angular/src/service/ionicActionSheet.js b/js/ext/angular/src/service/ionicActionSheet.js
index f24f947e77..1989543e03 100644
--- a/js/ext/angular/src/service/ionicActionSheet.js
+++ b/js/ext/angular/src/service/ionicActionSheet.js
@@ -20,7 +20,7 @@ angular.module('ionic.service.actionSheet', ['ionic.service.templateLoad', 'ioni
// Compile the template
- var element = $compile('')(scope);
+ var element = $compile('')(scope);
// Grab the sheet element for animation
var sheetEl = angular.element(element[0].querySelector('.action-sheet-wrapper'));
diff --git a/js/ext/angular/src/service/ionicLoading.js b/js/ext/angular/src/service/ionicLoading.js
index 0ff52c5cf3..f96523ea5d 100644
--- a/js/ext/angular/src/service/ionicLoading.js
+++ b/js/ext/angular/src/service/ionicLoading.js
@@ -31,7 +31,7 @@ angular.module('ionic.service.loading', ['ionic.ui.loading'])
}
// Compile the template
- var element = $compile('' + opts.content + '')(scope);
+ var element = $compile('' + opts.content + '')(scope);
$document[0].body.appendChild(element[0]);
diff --git a/js/ext/angular/src/service/ionicView.js b/js/ext/angular/src/service/ionicView.js
index fd219fb11b..7e7f58f0bb 100644
--- a/js/ext/angular/src/service/ionicView.js
+++ b/js/ext/angular/src/service/ionicView.js
@@ -129,8 +129,8 @@ angular.module('ionic.service.view', ['ui.router', 'ionic.service.platform'])
if(element && !this.isTagNameRegistrable(element)) {
// first check to see if this element can even be registered as a view.
// Certain tags are only containers for views, but are not views themselves.
- // For example, the directive contains a and the is the
- // view, but the directive itself should not be registered as a view.
+ // For example, the directive contains a and the is the
+ // view, but the directive itself should not be registered as a view.
rsp.navAction = 'disabledByTagName';
return rsp;
}
@@ -456,15 +456,15 @@ angular.module('ionic.service.view', ['ui.router', 'ionic.service.platform'])
disableRegisterByTagName: function(tagName) {
// not every element should animate betwee transitions
- // For example, the directive should not animate when it enters,
- // but instead the directve would just show, and its children
- // directives would do the animating, but itself is not a view
+ // For example, the directive should not animate when it enters,
+ // but instead the directve would just show, and its children
+ // directives would do the animating, but itself is not a view
$rootScope.$viewHistory.disabledRegistrableTagNames.push(tagName.toUpperCase());
},
isTagNameRegistrable: function(element) {
// check if this element has a tagName (at its root, not recursively)
- // that shouldn't be animated, like or
+ // that shouldn't be animated, like or
var x, y, disabledTags = $rootScope.$viewHistory.disabledRegistrableTagNames;
for(x=0; x
-
+