Exercise
Correct!
False!
Complete this movie Provider that has a property title with value The Matrix
The Provider can be configured to set the Version setVersion of Movie such that movie.title in controller would print The Matrix Reloaded and inject the provider in controller.
var app = angular.module('app', []); app.provider('movie', function () { var version; return { code_hear: function (value) { version = value; }, code_hear code_hear code_hear } } } }); app.code_hear(function (code_hear) { code_hear }); app.controller('MyController', function (movie) { $scope.movie = movie.title; });

results matching ""

    No results matching ""