define(["angular", "model/TeasingModel"], function (angular, TeasingModel) {
var teasing = angular.module('teasing');
......(一系列controller)
});
后台是C#写的,TeasingModel是一个.cs后缀的文件,这段js代码是同事写的,
define里面申明了一系列controller,我是刚接触angularJS,在前端还是一个小菜鸟,
看到这个define实在百思不得其解,还有里面的参数也不理解,求大神指点一二,不胜感激!
define是requirejs里的api吧。。。