AngularJS 一般的 errors

1.处理 not find method  错误 有时候新建了一个js文件,调用js文件的function时 ,会提示function undfied ,这时就要记住gen一下。

2.在 haml 中用了一些class 但无法显示,或是提示一些 method not find,这时就得注意 index.haml 是否引入相应得 css 和 js 文件。

猜你喜欢

转载自unremittingly.iteye.com/blog/2004746
今日推荐