AngularJS控制器未显示结果

时间:2016-01-24 18:21:34

标签: javascript html angularjs html5 angularjs-controller

当用户在文本框{{student.fullName()}}上输入文本时,应该更新。但这不起作用。有什么帮助吗?

示例应用程序

https://www.googleapis.com/webfonts/v1/webfonts?key=api_key

结果截图:

tutorial

1 个答案:

答案 0 :(得分:3)

c

使用小写controller
 mainApp.controller('studentController', function($scope){

http://jsbin.com/besini/1/edit?html,css,console,output