I can't seem to get a defined value injected into a controller. I have gone through the angular docs and many other blogs too - but obviously I have messed up something critical here.
myapp = angular.module('MYAPP', ['ngRoute'])
.run(function () {
console.info("Hello MYAPP");
});
myapp.value("vx1", "placeholder for vx1");
and in controller
myapp.controller("MainCtlr", ["vx1", "ovEnv", function($scope, $timeout, vx1, ovEnv){
console.info("ctor MainCtlr env=", ovEnv, "; vx1=", vx1);
...
But I always get undefined for vx1.