adding data to dropup menu, also fixed for ui.bootstrap.