is the correct function to use to trigger the  cycle
Merge pull request #16 from sulmanen/ng-change

$apply is the correct function to use to trigger change