basic concept done
js controllers