Trying to get html5mode enabled, but I'm getting the 'you did something wrong' squiggles under $locationProvider.html5mode(true) in my IDE (WebStorm 8) with the following message in the title. Not sure what I'm doing wrong, so I figured another set of eyes would see what I'm missing.
(function () {
var app = angular.module("app", ['ngRoute']);
app.config(function ($routeProvider, $locationProvider){
$routeProvider
//.when code
$locationProvider.html5Mode(true);
});
//app.controller...
}());