/**
 * Created by ttang on 2016/8/10.
 */
app.directive('inputFocus',function(){
    return{
        restrict: 'A',
        scope: {},
        link: function(scope, element){
            element.on('click',function(){
                $("#postInput1").focus();
            });
        }
    }
});