@IonBruno wrote:
.controller('AppCtrl', function($scope, $rootScope, $ionicLoading) { $rootScope.colorg = 'blue'; }) .controller('CategoriasCtrl', function($scope, Categorias, $ionicLoading, $rootScope) { console.log($rootScope.colorg); })
Because the console.log returns undefined me?
Posts: 2
Participants: 1