0 votes
in Angular by
Can we Load HTML Content Rather than a Full Page?

1 Answer

0 votes
by

Yes, you can load simple HTML content by using template property as shown in the highlighted code below.

HTML
myApp.config(function ($stateProvider, $urlRouterProvider) {
    $stateProvider
          .state('About', {
url: '/About',
template: '<b>This is About us</b>'
        })};
...