Edit in JSFiddle

var templatesExample = angular.module('TutsnSols.Template', []);
templatesExample.controller('HomeController', function ($scope) {
    $scope.greeting = "Welcome to sample application.";
});
templatesExample.controller('AboutController', function ($scope) {
    $scope.content = "TutsN'Sols is a place where you can learn coding with live examples";
});

templatesExample.config(function ($routeProvider) {
    $routeProvider.
    when('/home', {
        templateUrl: 'embedded.home.html',
        controller: 'HomeController'
    }).
    when('/about', {
        templateUrl: 'embedded.about.html',
        controller: 'AboutController'
    }).
    otherwise({
        redirectTo: '/home'
    });
});
<script type="text/ng-template" id="embedded.home.html">
    <h1> Home </h1>
    {{greeting}}
</script>
<script type="text/ng-template" id="embedded.about.html">
    <h1> About </h1>
    {{content}}
</script>
<div> 
      <div id="navigation">  
      <a href="#/home">Home</a>
      <a href="#/about">About</a>
      </div>
    
    <div ng-view></div>
</div>