Added saving to model

add hammer and angular-hammer