Improvement in Guide code


#1

Hey yall !!
I think you should change some part of the code in the Guide here:
http://ionicframework.com/docs/guide/building.html

at the end of the guide:

$scope.createTask = function(task) {
    if(!$scope.activeProject) {
      return;
    }
...

should rather be:

 $scope.createTask = function(task) {
    if(!$scope.activeProject || !task) {
      return;
    }
...

because when the user clicks on the New Task button without typing anything, it just causes angular to crash.


#2

Sounds good, thanks. Done and done.