angular
.module('inspinia')
.controller('contentCtrl', ['$scope','$state','$reactive','$filter', function ($scope, $state, $reactive, $filter) {
console.log('username:' + $scope.name);
this.relevantId = "etp59iEcDbvuMq8vf";
this.subscribe('role');
this.helpers({
roleData: () => {
return role.findOne({ _id: this.getReactively('relevantId') });
}
});
console.log('ownerID: is roledata' + JSON.stringify(this.roledata;));
}]);