Angularjs 日期选择器和ui引导程序不工作

Angularjs 日期选择器和ui引导程序不工作,angularjs,datepicker,angularjs-directive,angular-ui-bootstrap,Angularjs,Datepicker,Angularjs Directive,Angular Ui Bootstrap,我使用angular fullstack生成一个应用程序,并尝试创建日期选择器指令,如angular ui引导上的教程:。但不知何故,我总是在控制台浏览器上通过angular.js和我的模块DatePick.js收到此错误消息: Uncaught SyntaxError: Unexpected token < DatePick.js:2 SyntaxError: Unexpected token ; at eval (native) at http://localhost:

我使用angular fullstack生成一个应用程序,并尝试创建日期选择器指令,如angular ui引导上的教程:。但不知何故,我总是在控制台浏览器上通过angular.js和我的模块DatePick.js收到此错误消息:

Uncaught SyntaxError: Unexpected token < DatePick.js:2
SyntaxError: Unexpected token ;
    at eval (native)
    at http://localhost:9000/bower_components/jquery/dist/jquery.js:339:22
    at Function.jQuery.extend.globalEval (http://localhost:9000/bower_components/jquery/dist/jquery.js:340:7)
    at jQuery.fn.extend.domManip (http://localhost:9000/bower_components/jquery/dist/jquery.js:5931:16)
    at jQuery.fn.extend.append (http://localhost:9000/bower_components/jquery/dist/jquery.js:5704:15)
    at null.<anonymous> (http://localhost:9000/bower_components/jquery/dist/jquery.js:5830:18)
    at jQuery.access (http://localhost:9000/bower_components/jquery/dist/jquery.js:4108:8)
    at jQuery.fn.extend.html (http://localhost:9000/bower_components/jquery/dist/jquery.js:5794:10)
    at removePatch [as html] (http://localhost:9000/bower_components/angular/angular.js:2129:25)
    at link (http://localhost:9000/bower_components/angular-route/angular-route.js:901:16) <div ng-view="" class="ng-scope"> 
和我的HTML:

<div class="input-append" ng-controller="DatepickerCtrl">
<label><input type="text" datepicker-popup="{{format}}" ng-model="dt" is-open="opened" min="minDate" max="'2015-06-22'" datepicker-options="dateOptions" date-disabled="disabled(date, mode)" ng-required="true" close-text="Close" /></label>

什么是datepick.js?我在plnkr工作。。。谢谢尼克斯,OK,我用咖啡生成模块。这就是在scripts/controller/datepick.coffee上创建一个文件,当我运行我的应用程序时,datepick.js是如何在build:js中作为参考的。你看过上面的plnkr了吗?你的代码和你的代码有什么不同?
<div class="input-append" ng-controller="DatepickerCtrl">
<label><input type="text" datepicker-popup="{{format}}" ng-model="dt" is-open="opened" min="minDate" max="'2015-06-22'" datepicker-options="dateOptions" date-disabled="disabled(date, mode)" ng-required="true" close-text="Close" /></label>