title: ng-click not firing in Ionic
body: <p>This is my HTML code:</p>
  
  <pre><code>&lt;ion-view view-title="Food Log - {{date | date:'dd/MM/yyyy'}}" ng-controller="FoodLogCtrl"&gt;
    &lt;div id="foodlog_calorie_progress"&gt;
      &lt;div&gt;6300&lt;/div&gt;
      &lt;div&gt;3100&lt;/div&gt;
    &lt;/div&gt;
    &lt;div id="foodlog_calorie_text"&gt;
      &lt;div&gt;
        consumed
      &lt;/div&gt;
      &lt;div&gt;
        remaining
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div id="foodlog_entry_buttons"&gt;
      &lt;button type="button" ng-click="takePicture()"&gt;
        &lt;span class="ion-camera"&gt;&lt;/span&gt;
        Capture
      &lt;/button&gt;
      &lt;button&gt;
        &lt;span class="ion-images"&gt;&lt;/span&gt;
        Gallery
      &lt;/button&gt;
    &lt;/div&gt;
    &lt;img ng-repeat="image in images" ng-src="{{urlForImage(image)}}" height="200px" /&gt;
    &lt;div id="foodlog_overview" class="list"&gt;
      &lt;a class="item item-icon-left" href="#"&gt;
        &lt;i class="icon ion-pizza"&gt;&lt;/i&gt;
        Last meal time
        &lt;span class="item-note"&gt;
          1:16 pm
        &lt;/span&gt;
      &lt;/a&gt;
      &lt;a class="item item-icon-left" href="#"&gt;
        &lt;i class="icon ion-steam"&gt;&lt;/i&gt;
        Last meal added
        &lt;span class="item-note"&gt;
          Chicken Roll
        &lt;/span&gt;
      &lt;/a&gt;
      &lt;a class="item item-icon-left" href="#"&gt;
        &lt;i class="icon ion-medkit"&gt;&lt;/i&gt;
        Last calorie intake
        &lt;span class="item-note"&gt;
          50g
        &lt;/span&gt;
      &lt;/a&gt;
    &lt;/div&gt;
  &lt;/ion-view&gt;
  </code></pre>
  
  <p>This is the controller:</p>
  
  <pre><code>.controller("FoodLogCtrl", function ($scope, $cordovaCamera, $cordovaFile) {
    $scope.menuTabShowHide(false);
  
    $scope.images = [];
  
    $scope.takePicture = function () {
      alert("asdf");
    }
  
    $scope.urlForImage = function(imageName) {
      ...
    }
  })
  </code></pre>
  
  <p>For some reason, the <code>takePicture</code> function just won't run. Writing <code>$scope.takePicture()</code> right after it runs fine, though.</p>