chain select by pure javascript fit angular