Tried to create modal window with AngularJS UI.