While researching helper.basepath in Angular UI routing, I discovered that it is a special function related to the RouteHelperProvider. However, the information was sparse and didn't explain its purpose. Can you shed some light on what exactly it does?
In the following code snippet, can you clarify the difference between using:
templateUrl: 'dashboard.html' / templateUrl: 'helper.resolveFor(dashboard.html)'
state('app.dashboard', {
url: '/dashboard',
title: 'Dashboard',
templateUrl: helper.basepath('dashboard.html'),
resolve: helper.resolveFor('flot-chart','flot-chart-plugins', 'weather-icons')
})