mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(navView): expose self.scope as navView $scope
This commit is contained in:
1
js/angular/controller/navViewController.js
vendored
1
js/angular/controller/navViewController.js
vendored
@@ -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 || '';
|
||||
|
||||
Reference in New Issue
Block a user