slider puzzle with angularjs