#7: Fixed bug with angular scope