fix for #157
Merge pull request #225 from garfield69/angular

fix for #157