updated as per angulardart version 0.12.0