Why AngularJs Controller is not Working proper?

How to use ng-controller and ng-model in Angular JS?