title: angularjs error argument 'controller' is not a function got undefined
body: <p>Hello I've been searching for reason why my code doesn't work but i can't find it. I've found similar question posted here but non help.
  This is my code.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html ng-app="app"&gt; 
      &lt;head&gt;
          &lt;meta charset="utf-8"&gt;
          &lt;title&gt;AngularJs tests&lt;/title&gt;
          &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"&gt;&lt;/script&gt;
      &lt;/head&gt;
      &lt;body ng-controller="Ctrl"&gt;
          &lt;input type="text" ng-model="blog"&gt;&lt;br&gt;
  
          &lt;br&gt;
  
          {{blog}}
  &lt;script&gt;
      var app=angular.module('app',[]);
      app.controller=('Ctrl', ['$scope',function($scope){
          $scope.blog="text";
      }]);
  &lt;/script&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>