changed radio values undefined is now -1, true 1 and false 0
added missing directive dependencies