Currently, I am utilizing AngularJS along with a repeater to cycle through some search results while also implementing a filter for searching purposes.
There are two specific scenarios that I need to address effectively and I am eagerly seeking the most "angular" approach to handle them.
The initial scenario is when there are no search results to display at the start.
The second scenario occurs when the filter is applied, but no search results are returned.
Upon browsing through this resource, I came across a potential solution that could work by creating separate directives for each scenario. However, I am curious to know if there is a way to manage these conditions using native angular directives without requiring additional coding in the controller.
Thank you!