1 2 3 4 5 6 7 8 9 10 11
app.config(function($routeProvider) { $routeProvider .when('/iframe', { templateUrl: 'app/fusionapp/scripts/view-models/sampleWithIframe.html', controller : "samplePageWithIframeController" }) .otherwise({ templateUrl: 'app/fusionapp/scripts/view-models/sample.html', controller : "samplePageController" }); });