refactor(navView): expose self.scope as navView $scope

This commit is contained in:
Andrew
2014-11-25 11:06:31 -07:00
parent 61916c61bb
commit b9829e755a
2 changed files with 13 additions and 4 deletions

View File

@@ -23,6 +23,7 @@ function($scope, $element, $attrs, $compile, $controller, $ionicNavBarDelegate,
var activeEleId;
var navViewAttr = $ionicViewSwitcher.navViewAttr;
self.scope = $scope;
self.init = function() {
var navViewName = $attrs.name || '';