Perhaps you’d be able to help me reconstruct a base for a few of the files? Just trying to interpret the files in other plugins…
Given all the files are at the same files system level,
./module.js
./status.js
./module.html
module.js should be more or less this?
angular.module('status',[])
status.js should be in this format?
angular.module('status',[])
.controller('StatusCtrl', ['$scope', function ($scope) {
$scope.name = 'Superhero';
}]);
module.html
<div>
<h3>Status Control</h3>
{{name}}
</div>
Thanks!
Miles
Edit : Just found this here for creating directives for future reference :