0

私はこれを省略します。 私はangularjsをとても使い慣れていて、Pluralsightsのチュートリアルに従っています。

チュートリアルのリリース以来、私はナットを運転している多くの非推奨の組み込み関数があります。

私はチュートリアルでは、(現在は非推奨される)$モーダルを使用するように見せている...私はちょうど代わりに$ uibModalを使用してみました、そしてクリックするとき、次のコード

angularFormsApp.controller("HomeController", 
function ($scope, $location, $uibModal, DataService) { 
    $scope.showCreateEmployeeForm = function() { 
     //$location.path('/newEmployeeForm');    

     $uibModal.open({ 
      templateUrl: 'app/EmployeeForm/efTemplate.html', 
      controller: 'efController' 
     }); 
    }) 

を使用しようとしている

ボタン、イベントが発射されていないと私は次のエラー

Error: [$injector:unpr] http://errors.angularjs.org/1.3.0/ $injector/unpr?p0=%24animateCssProvider%20%3C-%20%24animateCss%20%3C-%20%24uibModalStack%20%3C-%20%24uibModal

ああを取得しています - 私はまた、NuGetを使用して、角インストールので、私は最新のリリース

答えて

1

を持っていますは角度1.4+でのみ使用でき、1.3を使用しています。ブートストラップUIのWebサイトから

AngularJS (requires AngularJS 1.4.x or higher, tested with 1.5.3). 0.14.3 is the last version of this library that supports AngularJS 1.3.x and 0.12.0 is the last version that supports AngularJS 1.2.x.

ちょうどあなたの角度のバージョンを更新。

+0

私はそのようなばかだ、素早い応答のおかげで...私はプロジェクトにangleIntellisenseを追加し、ダウン私の角バージョンをダウングレード... – Mossi92

+0

ようこそ。インテリセンスで幸運を祈る。 –

関連する問題