79567028

Date: 2025-04-10 15:16:35
Score: 1.5
Natty:
Report link

This change in the app.js file works as desired:

/*angular.module('app', [].controller('MainController', function() {
    this.num1 = 0;
    this.num2 = 0;
}));*/

var app = angular.module('app', []);
app.controller('MainController', function() {
    this.num1 = 0;
    this.num2 = 0;  
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: skipper0802