am attempting to utilize the ng-click feature of AngularJS to switch views. How might I approach doing this with the code underneath?
index.html
<div ng-controller="Cntrl">
<div ng-click="someFunction()">
click me
<div>
<div>
controller.js
function Cntrl ($scope) {
$scope.someFunction = function(){
//code to change view?
}
}