Add ngdoc annotations to mod2.js#1
Conversation
Using new alias syntax... maybe I should hold off and use name though
|
The aim os to minimise the number of tags we need to write |
|
Awesome.... I like that! |
|
Does it work when this syntax is followed: /**
* Controller which does something with scope
*/
function MyController($scope) {
$scope.peanuts = 'food';
}
/**
* @param {Array.<String>} toppings Pizza toppings
* @returns {Boolean}
*/
MyController.prototype.eatPizza = function (toppings) {
return toppings && toppings.length && toppings.indexOf('pepperoni') > -1;
};
angular.module('my.module').controller('MyController', MyController);Most of my code follows a structure like that. PS After reading that code snippet it's probably clear I'm hungry... |
|
Not yet. Je pense. But I will work on it
|
Using new alias syntax... maybe I should hold off and use name though