fixing add slide to be div panel and angularjs-like.