added angular functionality to sidebar and navbar