Added a default value for allowedRotations of [0] in case of calling setAllowedRotations is called with an empty [] array.
Added a default value for allowedRotations of [0] in case of calling setAllowedRotations is called with an empty [] array.

AppGyver/steroids-js,AppGyver/steroids-js,AppGyver/steroids-js,AppGyver/steroids-js