moved navbar controller to directive, added navbar element to editor