Added angular state-level authorization support.