Search Posts

Category: angular-filters

Uncaught Error: Unknown provider: $filterProvider from myapp

I am getting following error: ( Uncaught Error: Unknown provider: $filterProvider from myapp) while using following code. Please help to solve it. Uncaught Error: Unknown provider: $filterProvider from myapp at angular.min.js:29 HTML——————— <script src=”http://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js”>`</script> <div ng-app=”myapp” ng-controller=”WeatherCtrl”> <h2>Weather in Salzburg, Austria</h2> <weather-icon cloudiness=”{{ weather.clouds }}”></weather-icon> <h3>Current: {{ weather.temp.current | temp:2 }}</h3> min: {{ weather.temp.min | temp }}, max: {{ weather.temp.max | temp }} </div> Source code (.js)——————- ‘use strict’; var myapp = angular.module(‘myapp’, []); myapp.factory(‘weatherService’, […]