2
I have some functions in jquery that normally would be in a file . js even, but when I use Angular where should put, following good practices?
Example: I have a function that determines whether or not my Header is hidden depending on scroll size.
Another thing, I’m consuming db so the correct thing would be to put my functions in Controller?
– Charles Presidente
@Charlespresident This will depend mainly on the way you are implementing the connection between your application and the bank, but in general terms resource accesses are centralized in services/Factories.
– OnoSendai