Make authorization Angular based