Fixed angular attribute bugs