Update controller.js

Add support for shadow in freeDrawing mode
i don't know angular JS, i thought it was some super logic.
There was no return, so i did no add it.
Same answer apply for the other "1"  ....

It looked strange to me.