Refactored code and removed unnecessary function to get templateUrl
Refactored code and removed unnecessary function to get templateUrl

Makes the code more readable than having a function at the top of the
directive. When looking at the templateUrl property now you can
immediatly spot whats going on.

sdorra/angular-dashboard-framework,reshak/angular-dashboard-framework,voixen/angular-dashboard-framework,alexandergorokhov/weather,Healy-Hudson-Portugal/angular-dashboard,angular-dashboard-framework/angular-dashboard-framework,Healy-Hudson-Portugal/angular-dashboard,raulgomis/angular-dashboard-framework,angular-dashboard-framework/angular-dashboard-framework,reshak/angular-dashboard-framework,alexandergorokhov/weather,reshak/angular-dashboard-framework,geshan/angular-dashboard-framework,geshan/angular-dashboard-framework,reshak/angular-dashboard-framework,Jst10/angular-dashboard-framework,Jst10/angular-dashboard-framework,sdorra/angular-dashboard-framework,voixen/angular-dashboard-framework,raulgomis/angular-dashboard-framework