In this code, the controller is being supplied an injected scope and rootScope, so why does it fail on the last line with:
ReferenceError: $rootscope is not defined
angular.module("myEntity").controller('productsCtrl', [
'$scope', 'MyAction', '$rootScope', function ($scope, MyAction, $rootScope) {
$scope.propertyValue = something;
$scope.canDoSomething = $rootscope.myRootScopeProperty = 1;
....
$rootScope(capital S), you have a typo.