angular working to create skip rule