draft of angularjs & popup post