still error dependency injection
arduino731 opened this issue · comments
I am still getting error on script.js 1 line
var app = angular.module('myApp', ['ngRoute','youtube-embed']);
app.controller('ServicesCtrl',['$scope', function($scope){
$scope.theBestVideo = 'sMKoNBRZM1M';
}]);
services.html
<div class="row">
<div class="col-lg-12">
<h2>Services</h2>
<youtube-video video-id="theBestVideo"></youtube-video>
</div>
</div>
index.html
<script src="https://www.youtube.com/iframe_api"></script>
<script src="angular-youtube-embed.js"></script>
Does anybody have any idea how to solve this?
json could not be put comments. thats it but thanks you
👍 👍