tests ok, todo optimizations
converted controller to link function
updated readme
optimized directive with watch
jslint
fix broken test